package com.hzmall.service;

import com.hzmall.common.ServerResponse;

public interface ICartService {
    ServerResponse list(Integer userId);
    ServerResponse add(Integer userId,Integer productId,Integer count);
    ServerResponse update(Integer userId, Integer productId, Integer count);
    ServerResponse deleteProduct(Integer userId,Integer[] productIds);
    ServerResponse unSelect(Integer userId,Integer productId);
    ServerResponse select(Integer userId,Integer productId);
    ServerResponse getCartProductCount(Integer userId);
    ServerResponse selectAll(Integer userId);
    ServerResponse unSelectAll(Integer userId);
}
